package com.lanou.service;

import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;
import com.lanou.entity.ClassQaQuestion;

import java.util.List;

public interface ClassQaQuestionService {
    int addClassQaQuestion(ClassQaQuestion classQaQuestion);
    PageInfo<ClassQaQuestion> selectQuestionsWithAnswers(Integer courseId,String orderRule, int pageNum, int pageSize);
    public ClassQaQuestion getQuestionById(Integer id);
}
